package com.candy.databasedocuments.entity;

import com.candy.databasedocuments.enums.DbTypeEnum;

/**
 * @author suYanLong
 * @version 1.0
 * @date 2023/7/11 9:55
 * @Description 数据库属性
 */
public class DbAttr {

    private DbTypeEnum dbType = DbTypeEnum.MYSQL;

    private String driver = "";

    private String url = "";

    private String dbName = "";

    private String username = "";

    private String password = "";

    public DbTypeEnum getDbType() {
        return dbType;
    }

    public void setDbType(DbTypeEnum dbType) {
        this.dbType = dbType;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
